package edu.washington.tcss360.burningpenguins.queries;

import java.util.Date;

/**
 * Queries by the ReviewDeadline column of a table.
 * @author Chris Gelatt
 * @version 1.0
 * @since 2013-11-2
 *
 */
public class ByReviewDeadline implements QueryBy
{
	private Long reviewDeadline;
	
	public ByReviewDeadline(Long reviewDeadline)
	{
		this.reviewDeadline = reviewDeadline;
	}
	
	public ByReviewDeadline(Date reviewDeadline)
	{
		this.reviewDeadline = reviewDeadline.getTime();
	}
	
	/**
	 * {@inheritDoc}
	 */
	public String toString()
	{
		return "ReviewDeadline = " + reviewDeadline;
	}
}